import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;


public class Student implements Serializable {
    @ExcelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "性别")
    private String gender;

    @ExcelProperty(value = "宿舍号")
    private int dormitoryNumber;

    @ExcelProperty(value = "床号")
    private int bedNumber;

    public Student(){}
    public Student(String name, String gender) {
        this.name = name;
        this.gender = gender;
        this.dormitoryNumber = -1;
        this.bedNumber = -1;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public int getDormitoryNumber() {
        return dormitoryNumber;
    }

    public void setDormitoryNumber(int dormitoryNumber) {
        this.dormitoryNumber = dormitoryNumber;
    }

    public int getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(int bedNumber) {
        this.bedNumber = bedNumber;
    }
}
